package com.yz.jdd.module.main.presenter;

import com.yz.jdd.base.activity.IBaseView;
import com.yz.jdd.module.main.adapter.ShopsAdapter;
import com.yz.jdd.module.main.entity.ShopListItem;

public class ShopListContract {

    public interface View extends IBaseView {
        void setPresenter(ShopListPresenter presenter);

        void setAdapter();

        void expandGroup(int i);

        void selectedOtherShop(String id, String name,boolean isFinish);

        void selectedAllShop();

        void selectedShop_SetActivity(ShopListItem.ResultObjectBean.PageDataBean.ShopsBean shopsBean);

        void selectedShop_ScanEvoucherActivity(ShopListItem.ResultObjectBean.PageDataBean.ShopsBean shopsBean);
    }

    public interface Presenter {

        void doGetShopList(String string);

        void doGetPayShopList(String string);

        ShopsAdapter getAdapter();

        void chooseOtherShop(int par, int child);

        void  chooseEvoucherShop(int par, int child);

        void chooseAllShop();

        void doSearch(String s);

        void chooseShop_SetActivity(int par, int child);

        void doGetEvoucherShopList(String shopIdPar);
    }
}
